package com.hj.dapp.business.dept.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2023/12/30
 */
@TableName("dept")
@Data
public class Dept {
    private Long id;
    private String name;
    private Long parentId;
    private Integer orderNum;
    private String createBy;
    private LocalDateTime createTime;
    private String lastUpdateBy;
    private LocalDateTime lastUpdateTime;
    private Integer delFlag;
    @TableField(exist = false)
    private List<Dept> children;

}
